///**
// * web2010_admin
// * cn.aresoft.framework.service.validate ValidateProfiler.java
// */
//package cn.aresoft.framework.service.validate;
//
//import org.aspectj.lang.ProceedingJoinPoint;
//
//import cn.aresoft.framework.exception.LimitOfAuthorityException;
//import cn.aresoft.framework.service.AuthorityService;
//
///**
// * @author Jerry 2010-8-19 下午02:03:54
// */
//public class ValidateProfiler {
//
//	public Object profileMethod(ProceedingJoinPoint call) throws Throwable {
//		if (call.getTarget() instanceof AuthorityService) {
//			AuthorityService service = (AuthorityService) call.getTarget();
////			if (service.validateLimit(service.getOperationUser(),service.getOperating())) {
////				return call.proceed();
////			} else {
////				throw new LimitOfAuthorityException("没有权限");
////			}
//		}
//		return call.proceed();
//	}
//}
